package com.pureut.equipment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pureut.equipment.domain.InspectionItem;
import com.pureut.equipment.domain.dto.InspectionItemDto;
import com.pureut.equipment.domain.vo.InspectionItemVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/***
 *
 * Author:点验项目mapper
 * Date:2023/04/24 15:19
 * @DESC
 */
@Mapper
public interface InspectionItemMapper extends BaseMapper<InspectionItem> {

    /**
     * 点验项目列表
     */
    Page<InspectionItemDto> getList(@Param("inspectionItemVo") InspectionItemVo inspectionItemVo, @Param("page") Page<InspectionItemDto> page);

    /**
     * 查看
     */
    InspectionItemDto getDataById(Long id);

    /**
     * 批量查询
     */
    List<InspectionItemDto> selectAll(@Param("inspectionItems") List<String> inspectionItems);
}
